<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* Start of file user.php */
/* Location: ./messages/controllers/user.php */
class User extends CI_Controller {
	
	function __construct(){
		parent::__construct(); /* construct Messages user controller */
    }
	
	/*link to messages/user/inbox*/
	function inbox(){
		$this->ws->set('title',lang('inbox')); /*Title Page From ws-include/language/region/message_lang*/
        $this->ws->set('right_module',array('tips')); /* Load Right Module Side Jobs*/
		$this->ws->set_theme('default');/*Set theme to default theme ws-themes/default*/
		$this->ws->set_layout('index');/*Set layout to default/index  ws-themes/default/index.php*/
		$this->ws->view('inbox');/*Set views messages/views/inbox.php*/
	}
    
    /*link to messages/user/message/name of user*/
    function message($user){
        $this->ws->set('title',lang('inbox')); /*Title Page From ws-include/language/region/message_lang*/
        $this->ws->set('right_module',array('message-panel')); /* Load Right Module Side Jobs*/
		$this->ws->set_theme('default');/*Set theme to default theme ws-themes/default*/
		$this->ws->set_layout('index');/*Set layout to default/index  ws-themes/default/index.php*/
		$this->ws->view('message');/*Set views messages/views/inbox.php*/
    }
	
}
/* End of file user.php */
/* Location: .messages/controllers/user.php */